<!DOCTYPE html>
<html>
   <head>
      <title>Bootstrap 模板</title>
	  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" charset="UTF-8" >
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <link href="bootstrap/css/bootstrap.min.css" rel="stylesheet">
      <script src="bootstrap/js/jquery-1.11.1.min.js"></script>
      <script src="bootstrap/js/bootstrap.min.js"></script>
      <!--[if lt IE 9]>
         <script src="js/html5shiv.js"></script>
         <script src="js/respond.min.js"></script>
      <![endif]-->
      <script>
      	$(function(){
      		
      		$('button').click(function(){
	      		$('div').each(function(){
	      			console.log($(this).html());//each拿到所有的div
	      		});
      		});
      		
      		// console.log($('div').html());
      	});
      </script>
	   <style>
	   body{padding-top:70px}
	   </style>
   </head>
   <body>
   	<button class="btn btn-success">按钮</button>
   	<div>世界你好1</div>
   	<div>世界你好2</div>
   	<div>世界你好3</div>
   	<div>世界你好4</div>
   </body>
</html>